<template>
  <div class="message-container">
    <div class="message-container__l">
      <nav-wrap
        width="302px"
        :list="list"
      ></nav-wrap>
    </div>
    <div class="message-container__r">
      <transition name="fade-transform" mode="out-in">
      <nuxt-child></nuxt-child>
      </transition>
    </div>
  </div>
</template>

<script>

  import NavWrap from "../../components/pc/nav/navWrap";


  export default {
    data(){
      return{
        list: [
          {
            label: '我的喜欢',
            address: '/personal-center/like/support',
            id: '我的消息'
          },
          {
            label: '我的收藏',
            address: '/personal-center/like/collect',
            id: '我的收藏'
          }
        ],
        selected:'项目'
      }
    },

    created() {
      this.$router.replace('/personal-center/like/support')
    },

    components:{

      NavWrap


    },


  }
</script>

<style lang="scss" scoped>
  .message-container{
    width: $pageWidth;
    margin:0 auto;
    padding-bottom: 32*$length;
    @extend %flex-row-spb;
    align-items: flex-start;
    .message-container__l{
      overflow:hidden;
      width:302*$length;
      margin-top:16*$length;

    }
    .message-container__r{
      overflow:hidden;
      width:938*$length;
      margin-top:16*$length;
      border-radius: 4*$length;

    }
  }
</style>
